import axios from 'axios'


export const host = process.env.NODE_ENV==='development' ? 'http://192.168.0.117:2020' : 'http://localhost:8080'

const request = axios.create({
    baseURL: host + '/api/',
    timeout: 5000,
});

export default request